package com.kakarote.hrm.constant;

import com.kakarote.core.common.enums.SystemCodeEnum;
import com.kakarote.core.exception.CrmException;


/**
 * 在岗状态
 */
public enum HrmPostStatusEnum {
    ONDUTY("在岗", "在岗"),
    RETIREMENT("离休", "离休"),
    RETIRE("退休", "退休"),
    INVOLUTION("内退", "内退"),
    NOTDUTY("不在岗", "不在岗"),
    SECONDMENT("借调", "借调"),
    BORROW("借用", "借用"),
    FOLLOW("跟班学习", "跟班学习"),
    QUIT("离职", "离职"),;

    HrmPostStatusEnum(String name, String msg) {
        this.name = name;
        this.msg = msg;
    }

    private final String name;
    private final String msg;

    public String getName() {
        return name;
    }

    public String getMsg() {
        return msg;
    }

}
